home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / smail-3.1.28 / src / lookup.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-07-11  |  813 b   |  25 lines

  1. /* @(#)src/lookup.h    1.3 7/11/92 11:49:34 */
  2.  
  3. /*
  4.  *    Copyright (C) 1987, 1988 Ronald S. Karr and Landon Curt Noll
  5.  *    Copyright (C) 1992  Ronald S. Karr
  6.  * 
  7.  * See the file COPYING, distributed with smail, for restriction
  8.  * and warranty information.
  9.  */
  10.  
  11. /*
  12.  * lookup.:
  13.  *    Interface file for lookup.c
  14.  */
  15.  
  16. /* macros used in communicating with functions in lookup.c */
  17. #define DB_FAIL        (-1)        /* unrecoverable failure */
  18. #define DB_AGAIN    (-2)        /* retry operation at a later time */
  19. #define DB_NOMATCH    (-3)        /* no match was found */
  20. #define DB_SUCCEED    0        /* operation was successful */
  21. #define FILE_SUCCEED    0        /* operation on file was successful */
  22. #define FILE_FAIL    (-4)        /* unrecoverable database failure */
  23. #define FILE_AGAIN    (-5)        /* try using database later */
  24. #define FILE_NOMATCH    (-6)        /* no such file */
  25.